<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js App" />
    <Header />
  </div>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";
import MyHeader from "./components/MyHeader.vue";
export default {
  name: "App",
  // 注册后可以使用
  components: {
    HelloWorld,
    // 因为我设置了关闭语法检查 所以这里单个单词不会报语法错误
    Header: MyHeader,
  },
};
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
